let BASE_URL = ''
let url = uni.getStorageSync("ls_baseUrl");

if (process.env.NODE_ENV == 'development') { 
    BASE_URL = 'http://d.m-cloud.cc/api'
} else {
	if (url){
		BASE_URL = url
	} else {
		BASE_URL = 'http://d.m-cloud.cc/api'
	}
}
let staticDomainURL = BASE_URL+ '/sys/common/static';

const configService = {
	apiUrl: BASE_URL,
	staticDomainURL: staticDomainURL
};

export default configService